/* eslint-disable prefer-const */
import { createRouter, createWebHashHistory } from 'vue-router'
import { constantRoutes } from './routes'

//创建路由器
let router = createRouter({
    history: createWebHashHistory(),
    routes: constantRoutes
})

export default router